# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/home/anttik/src/hunsbot/ui/mainwindow.ui'
#
# Created: Fri Jul 25 16:13:20 2014
#      by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(713, 655)
        MainWindow.setStyleSheet(_fromUtf8("QTextEdit[sameAsOnServer=\"true\"] {\n"
"    background-color: rgb(245, 245, 255);\n"
"}\n"
"\n"
"QTextEdit#koodinakyma1 {\n"
"    background-color: rgb(245, 245, 245);\n"
"}\n"
""))
        self.centralWidget = QtGui.QWidget(MainWindow)
        self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.centralWidget)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.splitter_3 = QtGui.QSplitter(self.centralWidget)
        self.splitter_3.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_3.setObjectName(_fromUtf8("splitter_3"))
        self.widget_2 = QtGui.QWidget(self.splitter_3)
        self.widget_2.setObjectName(_fromUtf8("widget_2"))
        self.verticalLayout = QtGui.QVBoxLayout(self.widget_2)
        self.verticalLayout.setMargin(2)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.loginLabel = QtGui.QLabel(self.widget_2)
        self.loginLabel.setTextFormat(QtCore.Qt.AutoText)
        self.loginLabel.setObjectName(_fromUtf8("loginLabel"))
        self.verticalLayout.addWidget(self.loginLabel)
        self.tuloslista = QtGui.QListWidget(self.widget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tuloslista.sizePolicy().hasHeightForWidth())
        self.tuloslista.setSizePolicy(sizePolicy)
        self.tuloslista.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tuloslista.setObjectName(_fromUtf8("tuloslista"))
        self.verticalLayout.addWidget(self.tuloslista)
        self.widget = QtGui.QWidget(self.splitter_3)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.widget)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.verticalLayout_3.addLayout(self.verticalLayout_2)
        self.tabWidget = QtGui.QTabWidget(self.widget)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab_1 = QtGui.QWidget()
        self.tab_1.setObjectName(_fromUtf8("tab_1"))
        self.gridLayout = QtGui.QGridLayout(self.tab_1)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.splitter = QtGui.QSplitter(self.tab_1)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.koodinakyma1 = QtGui.QTextEdit(self.splitter)
        self.koodinakyma1.setStyleSheet(_fromUtf8(""))
        self.koodinakyma1.setReadOnly(True)
        self.koodinakyma1.setObjectName(_fromUtf8("koodinakyma1"))
        self.koodinakyma2 = QtGui.QTextEdit(self.splitter)
        self.koodinakyma2.setStyleSheet(_fromUtf8(""))
        self.koodinakyma2.setProperty("sameAsOnServer", False)
        self.koodinakyma2.setObjectName(_fromUtf8("koodinakyma2"))
        self.gridLayout.addWidget(self.splitter, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab_1, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tab_2)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.rbEditText = QtGui.QRadioButton(self.tab_2)
        self.rbEditText.setChecked(True)
        self.rbEditText.setObjectName(_fromUtf8("rbEditText"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.rbEditText)
        self.rbRename = QtGui.QRadioButton(self.tab_2)
        self.rbRename.setObjectName(_fromUtf8("rbRename"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.rbRename)
        self.rbUndo = QtGui.QRadioButton(self.tab_2)
        self.rbUndo.setObjectName(_fromUtf8("rbUndo"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.rbUndo)
        self.leRename = QtGui.QLineEdit(self.tab_2)
        self.leRename.setObjectName(_fromUtf8("leRename"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.leRename)
        self.leUndo = QtGui.QLineEdit(self.tab_2)
        self.leUndo.setObjectName(_fromUtf8("leUndo"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.leUndo)
        self.label = QtGui.QLabel(self.tab_2)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label)
        self.lblLastEditor = QtGui.QLabel(self.tab_2)
        self.lblLastEditor.setObjectName(_fromUtf8("lblLastEditor"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.lblLastEditor)
        self.label_2 = QtGui.QLabel(self.tab_2)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2)
        self.lblLastEdited = QtGui.QLabel(self.tab_2)
        self.lblLastEdited.setObjectName(_fromUtf8("lblLastEdited"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.lblLastEdited)
        self.gridLayout_2.addLayout(self.formLayout, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tab)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.splitter_4 = QtGui.QSplitter(self.tab)
        self.splitter_4.setOrientation(QtCore.Qt.Vertical)
        self.splitter_4.setObjectName(_fromUtf8("splitter_4"))
        self.sivunakyma3 = QtWebKit.QWebView(self.splitter_4)
        self.sivunakyma3.setProperty("url", QtCore.QUrl(_fromUtf8("about:blank")))
        self.sivunakyma3.setObjectName(_fromUtf8("sivunakyma3"))
        self.koodinakyma3 = QtGui.QTextEdit(self.splitter_4)
        self.koodinakyma3.setProperty("sameAsOnServer", False)
        self.koodinakyma3.setObjectName(_fromUtf8("koodinakyma3"))
        self.gridLayout_3.addWidget(self.splitter_4, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.verticalLayout_3.addWidget(self.tabWidget)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.muutoskommentti = QtGui.QComboBox(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.muutoskommentti.sizePolicy().hasHeightForWidth())
        self.muutoskommentti.setSizePolicy(sizePolicy)
        self.muutoskommentti.setEditable(True)
        self.muutoskommentti.setDuplicatesEnabled(False)
        self.muutoskommentti.setObjectName(_fromUtf8("muutoskommentti"))
        self.horizontalLayout_3.addWidget(self.muutoskommentti)
        self.minorEdit = QtGui.QCheckBox(self.widget)
        self.minorEdit.setObjectName(_fromUtf8("minorEdit"))
        self.horizontalLayout_3.addWidget(self.minorEdit)
        self.tallennus = QtGui.QPushButton(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tallennus.sizePolicy().hasHeightForWidth())
        self.tallennus.setSizePolicy(sizePolicy)
        self.tallennus.setObjectName(_fromUtf8("tallennus"))
        self.horizontalLayout_3.addWidget(self.tallennus)
        self.automaatti = QtGui.QPushButton(self.widget)
        self.automaatti.setObjectName(_fromUtf8("automaatti"))
        self.horizontalLayout_3.addWidget(self.automaatti)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.groupBox = QtGui.QGroupBox(self.widget)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.afterSaveAction_nothing = QtGui.QRadioButton(self.groupBox)
        self.afterSaveAction_nothing.setObjectName(_fromUtf8("afterSaveAction_nothing"))
        self.horizontalLayout.addWidget(self.afterSaveAction_nothing)
        self.afterSaveAction_next = QtGui.QRadioButton(self.groupBox)
        self.afterSaveAction_next.setChecked(True)
        self.afterSaveAction_next.setObjectName(_fromUtf8("afterSaveAction_next"))
        self.horizontalLayout.addWidget(self.afterSaveAction_next)
        self.afterSaveAction_reload = QtGui.QRadioButton(self.groupBox)
        self.afterSaveAction_reload.setObjectName(_fromUtf8("afterSaveAction_reload"))
        self.horizontalLayout.addWidget(self.afterSaveAction_reload)
        self.verticalLayout_3.addWidget(self.groupBox)
        self.horizontalLayout_2.addWidget(self.splitter_3)
        MainWindow.setCentralWidget(self.centralWidget)
        self.menuBar = QtGui.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 713, 25))
        self.menuBar.setObjectName(_fromUtf8("menuBar"))
        self.menuToiminnot = QtGui.QMenu(self.menuBar)
        self.menuToiminnot.setObjectName(_fromUtf8("menuToiminnot"))
        MainWindow.setMenuBar(self.menuBar)
        self.actionLoadPreview = QtGui.QAction(MainWindow)
        self.actionLoadPreview.setObjectName(_fromUtf8("actionLoadPreview"))
        self.actionEdellinen = QtGui.QAction(MainWindow)
        self.actionEdellinen.setObjectName(_fromUtf8("actionEdellinen"))
        self.actionSeuraava = QtGui.QAction(MainWindow)
        self.actionSeuraava.setObjectName(_fromUtf8("actionSeuraava"))
        self.actionPoistaListasta = QtGui.QAction(MainWindow)
        self.actionPoistaListasta.setObjectName(_fromUtf8("actionPoistaListasta"))
        self.menuToiminnot.addAction(self.actionLoadPreview)
        self.menuToiminnot.addAction(self.actionEdellinen)
        self.menuToiminnot.addAction(self.actionSeuraava)
        self.menuToiminnot.addAction(self.actionPoistaListasta)
        self.menuBar.addAction(self.menuToiminnot.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.loginLabel.setText(QtGui.QApplication.translate("MainWindow", "ei kirjauduttu", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_1), QtGui.QApplication.translate("MainWindow", "Wikiteksti", None, QtGui.QApplication.UnicodeUTF8))
        self.rbEditText.setText(QtGui.QApplication.translate("MainWindow", "Muokkaa tekstiä", None, QtGui.QApplication.UnicodeUTF8))
        self.rbRename.setText(QtGui.QApplication.translate("MainWindow", "Nimeä uudelleen:", None, QtGui.QApplication.UnicodeUTF8))
        self.rbUndo.setText(QtGui.QApplication.translate("MainWindow", "Kumoa muutos:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MainWindow", "Viimeisin muokkaaja:", None, QtGui.QApplication.UnicodeUTF8))
        self.lblLastEditor.setText(QtGui.QApplication.translate("MainWindow", "?", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Viimeksi muokattu:", None, QtGui.QApplication.UnicodeUTF8))
        self.lblLastEdited.setText(QtGui.QApplication.translate("MainWindow", "?", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("MainWindow", "Tiedot", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("MainWindow", "Esikatselu", None, QtGui.QApplication.UnicodeUTF8))
        self.minorEdit.setText(QtGui.QApplication.translate("MainWindow", "Pieni", None, QtGui.QApplication.UnicodeUTF8))
        self.tallennus.setText(QtGui.QApplication.translate("MainWindow", "Tallenna", None, QtGui.QApplication.UnicodeUTF8))
        self.tallennus.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+S", None, QtGui.QApplication.UnicodeUTF8))
        self.automaatti.setText(QtGui.QApplication.translate("MainWindow", "Automaatti", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("MainWindow", "Tallennuksen jälkeen", None, QtGui.QApplication.UnicodeUTF8))
        self.afterSaveAction_nothing.setText(QtGui.QApplication.translate("MainWindow", "ei mitään", None, QtGui.QApplication.UnicodeUTF8))
        self.afterSaveAction_next.setText(QtGui.QApplication.translate("MainWindow", "seuraava", None, QtGui.QApplication.UnicodeUTF8))
        self.afterSaveAction_reload.setText(QtGui.QApplication.translate("MainWindow", "lataa muutokset", None, QtGui.QApplication.UnicodeUTF8))
        self.menuToiminnot.setTitle(QtGui.QApplication.translate("MainWindow", "Toiminnot", None, QtGui.QApplication.UnicodeUTF8))
        self.actionLoadPreview.setText(QtGui.QApplication.translate("MainWindow", "Lataa esikatselu", None, QtGui.QApplication.UnicodeUTF8))
        self.actionLoadPreview.setToolTip(QtGui.QApplication.translate("MainWindow", "Lataa esikatselu", None, QtGui.QApplication.UnicodeUTF8))
        self.actionLoadPreview.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+R", None, QtGui.QApplication.UnicodeUTF8))
        self.actionEdellinen.setText(QtGui.QApplication.translate("MainWindow", "Edellinen", None, QtGui.QApplication.UnicodeUTF8))
        self.actionEdellinen.setToolTip(QtGui.QApplication.translate("MainWindow", "Edellinen listassa", None, QtGui.QApplication.UnicodeUTF8))
        self.actionEdellinen.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+P", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSeuraava.setText(QtGui.QApplication.translate("MainWindow", "Seuraava", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSeuraava.setToolTip(QtGui.QApplication.translate("MainWindow", "Seuraava listassa", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSeuraava.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+N", None, QtGui.QApplication.UnicodeUTF8))
        self.actionPoistaListasta.setText(QtGui.QApplication.translate("MainWindow", "Poista listasta", None, QtGui.QApplication.UnicodeUTF8))
        self.actionPoistaListasta.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+D", None, QtGui.QApplication.UnicodeUTF8))

from PyQt4 import QtWebKit

if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

